package com.ytkj.digitalConstruction.entity.constructionplan;

import java.util.Date;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
 * 施工计划
 * @author iking
 *
 */
public class ConstructionPlan {
    private Integer planId;

    @NotNull(message = "未指定项目流程！")
    private Integer flowId;

    /**
     * 施工部门编号
     */
    private Integer deptId;

    /**
     * 申请日期
     */
    private Date applyDate;

    /**
     * 执行经理
     */
    private Integer execManager;

    /**
     * 技术负责人
     */
    private Integer techDirector;

    /**
     * 安全负责人
     */
    private Integer safeDirector;

    /**
     * 现场管理员
     */
    private Integer siteAdmin;

    /**
     * 安全员
     */
    private Integer safetyOfficer;

    /**
     * 监理管理员
     */
    private Integer supervisor;
    
    /**
     * 车辆数
     */
    private Integer vehicleNum;

    /**
     * 人数
     */
    private Integer personNum;

    /**
     * 天气状况
     */
    @Size(max=100, message="天气信息不得超过100字")
    private String weatherContent;

    /**
     * 状态
     */
    private Integer status;

    /**
     * 是否施工
     */
    private Integer isconstruct;

    /**
     * 取消施工的原因
     */
    @Size(max=100, message=" 取消施工的原因不得超过100字")
    private String remark;

    /**
     * 经办人
     */
    @Size(max=50, message="经办人不得超过50字")
    private String operator;

    /**
     * 更新人
     */
    private Integer updateBy;

    /**
     * 更新日期
     */
    private Date updateDate;

    public Integer getPlanId() {
        return planId;
    }

    public void setPlanId(Integer planId) {
        this.planId = planId;
    }

    public Integer getFlowId() {
        return flowId;
    }

    public void setFlowId(Integer flowId) {
        this.flowId = flowId;
    }

    public Integer getDeptId() {
        return deptId;
    }

    public void setDeptId(Integer deptId) {
        this.deptId = deptId;
    }

    public Date getApplyDate() {
        return applyDate;
    }

    public void setApplyDate(Date applyDate) {
        this.applyDate = applyDate;
    }

    public Integer getExecManager() {
        return execManager;
    }

    public void setExecManager(Integer execManager) {
        this.execManager = execManager;
    }

    public Integer getTechDirector() {
        return techDirector;
    }

    public void setTechDirector(Integer techDirector) {
        this.techDirector = techDirector;
    }

    public Integer getSafeDirector() {
        return safeDirector;
    }

    public void setSafeDirector(Integer safeDirector) {
        this.safeDirector = safeDirector;
    }

    public Integer getSiteAdmin() {
        return siteAdmin;
    }

    public void setSiteAdmin(Integer siteAdmin) {
        this.siteAdmin = siteAdmin;
    }

    public Integer getSafetyOfficer() {
        return safetyOfficer;
    }

    public void setSafetyOfficer(Integer safetyOfficer) {
        this.safetyOfficer = safetyOfficer;
    }

    public Integer getSupervisor() {
        return supervisor;
    }

    public void setSupervisor(Integer supervisor) {
        this.supervisor = supervisor;
    }

    public Integer getVehicleNum() {
		return vehicleNum;
	}

	public void setVehicleNum(Integer vehicleNum) {
		this.vehicleNum = vehicleNum;
	}

	public Integer getPersonNum() {
        return personNum;
    }

    public void setPersonNum(Integer personNum) {
        this.personNum = personNum;
    }

    public String getWeatherContent() {
        return weatherContent;
    }

    public void setWeatherContent(String weatherContent) {
        this.weatherContent = weatherContent == null ? null : weatherContent.trim();
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getIsconstruct() {
        return isconstruct;
    }

    public void setIsconstruct(Integer isconstruct) {
        this.isconstruct = isconstruct;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator == null ? null : operator.trim();
    }

    public Integer getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(Integer updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }
}